package com.example.MeiJu;

enum Colors{
    RED, GREEN, BLUE;
    private Colors(){
        System.out.println("Constructor called for : " + this.toString());
    }
    public void colorInfo()
    {
        System.out.println("Universal Color");
    }
}

public class Test2 {
    public static void main(String[] args) {
        Colors c1 = Colors.RED;
        System.out.println(c1);
        c1.colorInfo();
    }
}
